#ifndef __READDIR_H__
#define __READDIR_H__
#include <sys/wait.h> 
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>         //  目录操作 依赖头文件
#include <string.h>


typedef char* ElemType;
typedef struct Node 
{
    ElemType data;
    struct Node *prev;
    struct Node *next;
} Node;
typedef struct LinkedList
{
    Node *first;
    Node *last;
    int nodenum;
} LinkedList;

LinkedList *create_doublelist();
void insert_head_doublelist(LinkedList* l, ElemType data);
void printList(LinkedList* l);
LinkedList* readdir_mp3();
#endif
